package com.woniuxy.closer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李玉桃
 * @since 2022-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Contacts对象", description="")
public class Contacts implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "密接人员表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "密接类型")
    private String contactType;


    @ApiModelProperty(value = "关联的确诊病例")
    private Integer fid;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "生日")
    private String birth;

    @ApiModelProperty(value = "身份证")
    @TableField("idCard")
    private String idCard;

    @ApiModelProperty(value = "职业")
    private String profession;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "现居地")
    private String location;

    @ApiModelProperty(value = "同居家庭成员信息")
    private String family;

    @ApiModelProperty(value = "与感染者关系")
    private String relationship;

    @ApiModelProperty(value = "是否为医务人员")
    @TableField("isDoctor")
    private String isDoctor;

    @ApiModelProperty(value = "接触方式")
    private String contact;

    @ApiModelProperty(value = "末次接触时间")
    private String lastContactTime;

    @ApiModelProperty(value = "暴露类型")
    private String exposureType;

    @ApiModelProperty(value = "管控时间")
    private String controlTime;

    @ApiModelProperty(value = "管控情况")
    private String controlSituation;

    @ApiModelProperty(value = "是否出现症状")
    private String symptom;

    @ApiModelProperty(value = "症状描述")
    private String symptomDescription;

    @ApiModelProperty(value = "症状出现时间")
    private String symptomTime;

    @ApiModelProperty(value = "证实材料")
    private String corroboratingMaterial;

    private String creator;

    private Date creatTime;

    private String updater;

    private Date updateTime;


}
